Skip to content

Remove fit_power_curve.R: PerturbPlan's closed form is the analytical estimate - #5

Open
emattei wants to merge 1 commit into
mainfrom
remove/fit-power-curve
Open

emattei wants to merge 1 commit into
mainfrom
remove/fit-power-curve

Conversation

@emattei

@emattei emattei commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

What

  • Deletes src/fit_power_curve.R, the per-pair probit power-curve fit. It served the paper's reduced-design study, and nothing in the pipeline called it.
  • docs/pysceptre-backend.md and docs/status.md (Step 11) now say it was deleted, rather than "not ported" or live.
  • Rewords the comments in src/watteg/cli/summarize_power.py and src/summarize_power.R. They justified joining dispersion and mean by "any covariate model of power"; they now name PerturbPlan's closed form. There are no code changes.

Why

The project no longer fits a power model of its own. The analytical estimate is PerturbPlan's closed form (pysceptre.analytical_power), and the simulation stays the reference. The matching removal in WattEG-paper is in progress.

Checks

  • ruff check and ruff format --check on src tests workflow pass.
  • git grep fit_power_curve finds only the docs lines that now record the deletion.

🤖 Generated with Claude Code

… estimate

The per-pair probit power-curve fit served the paper's reduced-design study and nothing in
the pipeline called it. The project no longer fits a power model of its own: the analytical
estimate is PerturbPlan's closed form (pysceptre.analytical_power), and the simulation stays
the reference. The docs now say it was deleted rather than "not ported", and the two comments
that justified joining dispersion and mean by "any covariate model of power" name the closed
form instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant